package cn.bon.schedule.service;


import cn.bon.schedule.api.pojo.dto.RealTimeScheduleDTO;
import cn.bon.schedule.api.pojo.po.RealTimeSchedule;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 实时排班 服务类
 * </p>
 *
 * @author LuoChao
 * @since 2024-01-15
 */
public interface RealTimeScheduleService extends IService<RealTimeSchedule> {

    /**
     * 添加实时排班
     * @param realTimeScheduleDTOS 实时排班DTO
     * @param scheduleId 排班方案id
     */
    void add(RealTimeScheduleDTO[] realTimeScheduleDTOS, Long scheduleId);

    /**
     * 刷新冲突信息
     * @param scheduPlanId
     */
    void refresh(Long scheduPlanId);
}
